﻿using System;

namespace Developer.Core.FrameWork.RedisExtensions.RedisSubscribeInit.Attributes
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
    public abstract class TopicAttribute : Attribute
    {
        public TopicAttribute(string Name) => this.Name = Name;
        public string Name { get; }
        public string Group { get; }
    }
}
